package com.i3q360.layui.common.util;

import java.util.List;

public class PageInfo<T> {
	
	private long total;
	private List<T> rows;
	
	public PageInfo(long count , List<T> rows){
		
		this.total = count;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	
	
}
